package com.bjpowernode.dataservice.service;

import com.bjpowernode.commons.service.IncomeService;
import com.bjpowernode.dataservice.mapper.IncomeMapper;
import com.bjpowernode.commons.model.Income;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

@DubboService
public class IncomeServiceImpl implements IncomeService {
    @Resource
    private IncomeMapper incomeMapper;

    public void add(Income income) {
        incomeMapper.add(income);
    }
}
